<template>
  <van-tabbar route
    class="footer"
    v-model="active"
    active-color="#FF3B3E"
    inactive-color="#C1C1C1"
  >
    <van-tabbar-item replace to="/index" icon="wap-home" class="item"><span class="text">首页</span></van-tabbar-item>
    <van-tabbar-item icon="comment" to="/information" class="item"><span class="text">消息</span></van-tabbar-item>
    <van-tabbar-item icon="manager" to="/user" class="item"><span class="text">个人</span></van-tabbar-item>
    <van-tabbar-item class="item"><van-button icon="plus" class="addBtn" type="primary" /></van-tabbar-item>
  </van-tabbar>
</template>

<script>
import { Tabbar } from 'Vant';
import { TabbarItem } from "Vant";
export default {
  data() {
    return {
      active: 0
    }
  }
};
</script>

<style scoped lang="less">
.footer {
  width: 100%;
  height:98px;
  background:rgba(255,255,255,1);
  position: fixed;
  bottom: 0;
  .item {
    /deep/ .van-icon {
      font-size: 19px;
    }
    .text {
      font-size:22px;
      font-family:SourceHanSansCN;
      font-weight:400;
    }
    .addBtn {
      width:112px;
      height:112px;
      background:#FF3B3E;
      border:6px solid rgba(255,255,255,1);
      border-radius:50%;
      position: relative;
      bottom: 33px;
      z-index: 100;
    }
  }
}
</style>
